package com.jvxb.manage.livable.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author jvxb
 * @since 2022-01-07
 */
@Data
public class ClusterApplyVo {

    @ApiModelProperty(value = "工单标题")
    String title;
    @ApiModelProperty(value = "数据库类型")
    String dbType;
    @ApiModelProperty(value = "环境")
    String env;
    @ApiModelProperty(value = "机房")
    String idcCode;
    @ApiModelProperty(value = "版本")
    String version;
    @ApiModelProperty(value = "架构类型")
    String archType;
    @ApiModelProperty(value = "套餐")
    String packageName;
    @ApiModelProperty(value = "套餐")
    String clusterName;
    @ApiModelProperty(value = "申请人")
    Employee creator;
    @ApiModelProperty(value = "审批人")
    List<Employee> approvers;
    @ApiModelProperty(value = "审阅人")
    List<Employee> readers;
    @ApiModelProperty(value = "执行人")
    Employee operator;
    @ApiModelProperty(value = "执行时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    Date upTime;
    @ApiModelProperty(value = "工单描述")
    String createDesc;
    @ApiModelProperty(value = "工单id")
    Long workOrderId;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date createTime;
}
